package com.elitel.frame.main.dao.ext;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.elitel.frame.main.entity.SysPrjmenu;
import com.elitel.frame.main.entity.ext.SysPrjmenuExt;
import com.elitel.frame.main.entity.vo.PageRequestVo;

public interface ExtSysPrjmenuMapper {

	List<SysPrjmenu> getPrjMenuByPagination(PageRequestVo<SysPrjmenu> pr);

	Long getCountByPagination(PageRequestVo<SysPrjmenu> pr);

	void deletePrjMenuConfig(List<String> list);

	List<SysPrjmenu> getPrjMenuByMenucode(@Param("menucode") String menucode, @Param("pcode") String pcode);

	List<SysPrjmenuExt> getMenuList(@Param("pcode") String pcode, @Param("parent") String parent);

	SysPrjmenuExt selectByPrimaryKey(String guid);

	List<SysPrjmenu> getMenuByParent(String guid);

	void deleteMenuByPcode(List<String> list);

}
